package com.hl.card.common.persistence.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.hl.card.common.persistence.model.DisMemberApply;

import java.util.List;
import java.util.Map;

/**
 * <p>
  * 合伙人申请表 Mapper 接口
 * </p>
 *
 * @author 袁伟
 * @since 2018-06-02
 */
public interface DisMemberApplyMapper extends BaseMapper<DisMemberApply> {
	
        public int addDisMemberApply(DisMemberApply disMemberApply);
        
        public DisMemberApply searchDisMemberApplyByUserId(String user_id);
        
        public DisMemberApply searchDisMemberApplyByNo(String order_no);
        
        
        public int updateDisMemberApply(DisMemberApply disMemberApply);

        public List<DisMemberApply> selectApplyList(Map<String, Object> map);

        
        public int queryIsExistDisMemberApply(String user_id);
        
        public DisMemberApply selectApplyById(Integer id);
        public DisMemberApply searchDisMemberApplyInfo(String user_id);

        public DisMemberApply selectApplyByPhone(String phone);

        public List<DisMemberApply> selectApplyExcel(Map<String, Object> map);
}